const publicMethod = {
    //把日期转成时间戳
    getTimestamp(time) {
        return (new Date(time)).getTime() / 1000
    }

}
export {
    publicMethod
}